package study.spring.mail.mimehelper;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import study.spring.mail.OrderManager;

public class MimeMailMain {
	
	public static void main(String[] args) {
		
		ApplicationContext context = new ClassPathXmlApplicationContext("spring.xml", MimeMailMain.class);
		OrderManager orderManager=(OrderManager) context.getBean("orderManager");
		orderManager.sendMail();
		
	}
	
}
